package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.time.LocalDate;

public interface ReportService {

    //获取这个日期间的营业额统计
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);


    //获取这个日期间的用户数量统计
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    //获得这个日期间的订单的情况
    OrderReportVO getordersStatistics(LocalDate begin, LocalDate end);


    //获得这个日期销售前10的菜品或者套餐
    SalesTop10ReportVO getSalesTop10Statistics(LocalDate begin, LocalDate end);

    //导出营业数据
    void exportBusinessData(HttpServletResponse httpServletResponse) throws FileNotFoundException;
}
